package com.rainy.guoran.business.manager.config;

import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info;
import io.swagger.v3.oas.models.info.License;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotEmpty;

/**
 * Swagger 配置属性
 */
@Configuration
@ConfigurationProperties(prefix = "guoran.swagger")
@Data
public class SwaggerProperties {

    private Boolean enabled;
    private Info info;
    private Contact contact;
    private License license;

}
